HighDots Forums  

Regular Expression Find and Replace with Wildcards

Macromedia Dreamweaver Macromedia Dreamweaver Discussions (macromedia.dreamweaver)


Discuss Regular Expression Find and Replace with Wildcards in the Macromedia Dreamweaver forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
seancprichard@gmail.com
 
Posts: n/a

Default Regular Expression Find and Replace with Wildcards - 05-12-2009 , 11:49 AM






Hi!

For the world of me, I can't figure out the right way to do this.

I basically have a list of last names, first names. I want the last
name to have a different css style than the first name.

So this is what I have now:

<b>AAGAARD, TODD, S.</b><br>
<b>AAMOT, KARI,</b> <br>
<b>AARON, MARJORIE, C. </b> <br>

and this is what I need to have:

<span class="LastName">AAGAARD</span> <span class="FirstName">, TODD,
S. </span> <br />

<span class="LastName">AAMOT</span> <span class="FirstName">, KARI,</
span> <br/>

<span class="LastName">AARON</span> <span class="FirstName">,
MARJORIE, C.</span> <br/>

Any ideas?

Thanks!

Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.