View Single Post
Old 12-12-2008, 09:22 PM   #21
daesdaemar
Addict
daesdaemar has a spectacular aura aboutdaesdaemar has a spectacular aura aboutdaesdaemar has a spectacular aura aboutdaesdaemar has a spectacular aura aboutdaesdaemar has a spectacular aura aboutdaesdaemar has a spectacular aura aboutdaesdaemar has a spectacular aura aboutdaesdaemar has a spectacular aura aboutdaesdaemar has a spectacular aura aboutdaesdaemar has a spectacular aura aboutdaesdaemar has a spectacular aura about
 
Posts: 210
Karma: 4282
Join Date: Oct 2008
Location: Florida
Device: Sony 505, Kindle 3, iPad 3
Quote:
Originally Posted by =X= View Post
Sure
[0-9] Means look for any digit from 0-9. For upper case letters A-Z
{1,5} Uses the match condition to the left of it and looks. Looks for any occurrence from a single digit 1 up to 5 digits. In your case it looks for 0-9, so it will look for (e.g 0-99999). If we had a page count 100,000 it would not find it. You can change these values. If you want exact digits do {1}.

" " = space. With real regular expression you use "\s" with MS you must use a space.
"John Smith" looks for that exact expression.
Thank you. I can now edit my files much more efficiently.
daesdaemar is offline   Reply With Quote