The UNIX and Linux Forums  
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.

Go Back   The UNIX and Linux Forums > Top Forums > Shell Programming and Scripting
.
google unix.com



Shell Programming and Scripting Post questions about KSH, CSH, SH, BASH, PERL, PHP, SED, AWK and OTHER shell scripts and shell scripting languages here.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
RegExp - settle a bet earnstaf UNIX for Dummies Questions & Answers 2 04-17-2008 02:23 PM
regexp help TinCanFury Shell Programming and Scripting 0 04-06-2008 06:21 PM
perl regexp mirusnet Shell Programming and Scripting 1 04-04-2008 04:15 PM
regexp with sed again!!! andy2000 Shell Programming and Scripting 2 05-03-2007 10:15 AM
regexp penfold UNIX for Advanced & Expert Users 1 06-28-2005 07:45 AM

Closed Thread
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Bulgarian Greek Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 09-20-2008
agasamapetilon agasamapetilon is offline
Registered User
  
 

Join Date: Aug 2008
Posts: 67
Help with regexp

Hi there! I would like to know how to find and replace all numbers in a *.html file and make them bold. Any help will be appreciated!

Last edited by agasamapetilon; 09-20-2008 at 03:51 PM..
  #2 (permalink)  
Old 09-20-2008
vidyadhar85's Avatar
vidyadhar85 vidyadhar85 is offline Forum Staff  
Moderator(The Tutor)
  
 

Join Date: Jun 2008
Location: INDIA
Posts: 1,390
which shell are you using??
  #3 (permalink)  
Old 09-20-2008
agasamapetilon agasamapetilon is offline
Registered User
  
 

Join Date: Aug 2008
Posts: 67
Thanks for the reply, I am currently using bash.
  #4 (permalink)  
Old 09-20-2008
vidyadhar85's Avatar
vidyadhar85 vidyadhar85 is offline Forum Staff  
Moderator(The Tutor)
  
 

Join Date: Jun 2008
Location: INDIA
Posts: 1,390
what do you mean by uppercase for numbers?? can you give sample input and expected output pattern
  #5 (permalink)  
Old 09-20-2008
agasamapetilon agasamapetilon is offline
Registered User
  
 

Join Date: Aug 2008
Posts: 67
I mean, not uppercase... forgot that mate, I made a mistake... I just want them to be bold... This is an example, because its a huge list...
Code:
   <ol>
       <li>Some text</li>
       <li>Some text</li>
       <li>Some text</li>
   </ol>
  #6 (permalink)  
Old 09-20-2008
Franklin52 Franklin52 is online now Forum Staff  
Moderator
  
 

Join Date: Feb 2007
Posts: 4,294
Do you mean the tag for bold <B>..</B> in a browser???
  #7 (permalink)  
Old 09-20-2008
agasamapetilon agasamapetilon is offline
Registered User
  
 

Join Date: Aug 2008
Posts: 67
Yep, exactly mate. Thats what I want but I dont know how to perform that.
Closed Thread

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -4. The time now is 11:14 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0