Any questions involving matching text strings to patterns - the pattern is called a "regular expression."
Moderator: General Moderators
-
Ree
- Forum Regular
- Posts: 592
- Joined: Fri Jun 10, 2005 1:43 am
- Location: LT
Post
by Ree »
What does * apply to - '.' only or the whole '<br \/>.'?
-
Chris Corbyn
- Breakbeat Nuttzer
- Posts: 13098
- Joined: Wed Mar 24, 2004 7:57 am
- Location: Melbourne, Australia
Post
by Chris Corbyn »
It applies to the character that precedes it. So in this case it's the dot yes

-
Ree
- Forum Regular
- Posts: 592
- Joined: Fri Jun 10, 2005 1:43 am
- Location: LT
Post
by Ree »
Thanks, clear now.
-
Chris Corbyn
- Breakbeat Nuttzer
- Posts: 13098
- Joined: Wed Mar 24, 2004 7:57 am
- Location: Melbourne, Australia
Post
by Chris Corbyn »
No problem.
If you want it to apply to the <br /> too then use parentheses to surround the bits you need to group together
