Wrox Programmer Forums
Go Back   Wrox Programmer Forums > Web Programming > JavaScript > Javascript
|
Javascript General Javascript discussions.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Javascript section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old July 10th, 2006, 03:14 AM
Friend of Wrox
 
Join Date: May 2005
Posts: 140
Thanks: 0
Thanked 0 Times in 0 Posts
Default Regexp how to (also Urgent)

Hallo again,

I am having now a tag which is like
<span class="source">Frankfurter Rundschau, 5 July 2006, 697 words, German</span>

So it is not a static document. It's updated every hour that's why I don't want to use substring function to seperate this text from its commas. So I have to seperate it and to write it into different <td>s. Can anybody help me how to do it with RegExps?

Your attitude determines your altitude
__________________
Your attitude determines your altitude
 
Old July 10th, 2006, 08:54 AM
Friend of Wrox
 
Join Date: May 2005
Posts: 140
Thanks: 0
Thanked 0 Times in 0 Posts
Default

split(/,/)method was the solution.

Your attitude determines your altitude





Similar Threads
Thread Thread Starter Forum Replies Last Post
Question about regexp Micheas BOOK: Professional JavaScript for Web Developers ISBN: 978-0-7645-7908-0 1 December 14th, 2007 02:10 PM
RegExp crmpicco Javascript How-To 0 July 7th, 2005 05:59 AM
RegExp crmpicco Classic ASP Basics 0 June 6th, 2005 05:54 AM
RegExp Nitin_sharma Javascript 2 November 30th, 2004 07:21 AM
regexp problem godhsf80 Javascript How-To 5 March 11th, 2004 04:38 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.