Reg Exp to find Number String
Posted: Sun Mar 22, 2009 6:59 am
Is it possible to use TextPad to search through a 3,000 line text document, and find lines including for example:
D[followed by a number] ICT e.g. D234 ICT
I don't need to run this search as well, but would also like to run another search for:
[number] bikes, e.g. 123 Bikes
The position of these strings is not consistent within each line of text.
One more search I'd like to do - would it be possible to run a search for:
**ride**
**decorating**
**anything**
Where there is one word between the asterisks - i.e. there is actually a string with **ride** and I'd like to be able to run a search for that string...
And ideally, it'd be useful to modify that search as well, to find text strings where there are any lines with **anything** where 'anything' can be any word, as long as it is wrapped in 2 asterisks.
The lines of text are from an SQL file export of a MySQL table.
Sorry for asking for so much.
Thanks
D[followed by a number] ICT e.g. D234 ICT
I don't need to run this search as well, but would also like to run another search for:
[number] bikes, e.g. 123 Bikes
The position of these strings is not consistent within each line of text.
One more search I'd like to do - would it be possible to run a search for:
**ride**
**decorating**
**anything**
Where there is one word between the asterisks - i.e. there is actually a string with **ride** and I'd like to be able to run a search for that string...
And ideally, it'd be useful to modify that search as well, to find text strings where there are any lines with **anything** where 'anything' can be any word, as long as it is wrapped in 2 asterisks.
The lines of text are from an SQL file export of a MySQL table.
Sorry for asking for so much.
Thanks