This is a discussion on "Regex - Alignment" within the JavaScript Forum section. This forum, and the thread "Regex - Alignment are both part of the Program Your Website category.
|
|
|
|
|
![]() |
||
Regex - Alignment
|
||
| Notices |
![]() |
|
|
LinkBack | Thread Tools |
|
|||
|
Regex - Alignment
For text alignment, I try to catch a sequence in the string like –
<P align = “what”> some text </P>. Based on that, I parse the html into wiki as – << what | some text >> Unfortunately, the sequence is caught incorrectly, i.e. when I specify two text alignment like – <P align = “center”> some text </P> some lines or sentences <P align = “right”> some text </P>, the sequence is caught as << center | some text </P> some lines or sentences <P align = “right”> some text >> and not as <<center | some text >> some lines or sentences <<right | some text>> Anybody help pls!!! |
|
|
![]() |
| Thread Tools | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| DIV alignment help | e1seix | Web Page Design | 3 | May 26th, 2008 11:19 |
| Add white space using RegEx | Access | JavaScript Forum | 2 | Feb 8th, 2008 03:30 |
| [SOLVED] Regex | alexgeek | JavaScript Forum | 3 | Dec 23rd, 2007 16:52 |
| [SOLVED] playing with Perl Compatible Regex in field validation | eon201 | JavaScript Forum | 33 | Oct 26th, 2007 15:07 |
| Quick Regex Request | Ryan Fait | PHP Forum | 12 | May 29th, 2007 22:54 |