Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Web Development
  3. JavaScript
  4. how to select numbers that is not between single/double cuotes with regular expression

how to select numbers that is not between single/double cuotes with regular expression

Scheduled Pinned Locked Moved JavaScript
javascriptregexhelptutorial
2 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • M Offline
    M Offline
    mohammadkaab
    wrote on last edited by
    #1

    hi i have problem selecting the numbers that is not in the single/double qoutes . let say we have this text below . 123 /* you can count this 5454 */ <style color="#767676"> 8787 i want to select just the 123 and 8787 , nothing else how should i do this with regular expression in javascript

    T 1 Reply Last reply
    0
    • M mohammadkaab

      hi i have problem selecting the numbers that is not in the single/double qoutes . let say we have this text below . 123 /* you can count this 5454 */ <style color="#767676"> 8787 i want to select just the 123 and 8787 , nothing else how should i do this with regular expression in javascript

      T Offline
      T Offline
      twseitex
      wrote on last edited by
      #2

      read out property .color may be no standadrd value exists. put 123 into container like a DIV and use property .innertext or .innerHTML of DIV</x-turndown>

      1 Reply Last reply
      0
      Reply
      • Reply as topic
      Log in to reply
      • Oldest to Newest
      • Newest to Oldest
      • Most Votes


      • Login

      • Don't have an account? Register

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • World
      • Users
      • Groups