Jump to content

how to: regular expression


aebstract

Recommended Posts

I suck at regular expressions..

I know some of the commands and whatnot, and almost understand the syntax of it. I'm wanting to retrieve information from a database, basically a simple search engine. It will search one column for anything that includes what was searched for. Example being:

 

If you search for 20.

Let's say there are 3 parts with 20 in them,

BPRSW20

SWO20JAL

204589

I want to be able to retrieve the rows with these parts in them. Any row that has the searched for criteria, anywhere in the part number. I don't want anyone to write this for me but help me out with how I would go about doing it please.

Link to comment
https://forums.phpfreaks.com/topic/96916-how-to-regular-expression/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.