+ Reply to Thread
Results 1 to 11 of 11

ask text in( ) pattern

  1. #1
    Valued Forum Contributor
    Join Date
    11-28-2015
    Location
    indo
    MS-Off Ver
    2016 64 bitt
    Posts
    1,282

    ask text in( ) pattern

    in a1 i have data
    (a,b,a,b,a,b) a,b,c,b
    I want take data from bracet
    (.....) = a and ,b
    Then result is
    a
    a
    a
    ,b
    ,b
    Only a and ,b in bracet (
    What is my pattern
    Pattern =\b([a]|[,b]\b)
    But still errror

  2. #2
    Forum Expert sintek's Avatar
    Join Date
    12-04-2015
    Location
    Cape Town
    MS-Off Ver
    2013 | 2016 | 2019
    Posts
    13,239

    Re: ask text in( ) pattern

    So...this is A1
    (a,b,a,b,a,b) a,b,c,b
    And you want this in A1,A2,A3,A4,A5 ?
    a
    a
    a
    ,b
    ,b
    Good Luck
    I don't presume to know what I am doing, however, just like you, I too started somewhere...
    One-day, One-problem at a time!!!
    If you feel I have helped, please click on the star to left of post [Add Reputation]
    Also....add a comment if you like!!!!
    And remember...Mark Thread as Solved.
    Excel Forum Rocks!!!

  3. #3
    Valued Forum Contributor
    Join Date
    11-28-2015
    Location
    indo
    MS-Off Ver
    2016 64 bitt
    Posts
    1,282

    Re: ask text in( ) pattern

    B1,C1,D1 etc i want only
    Pattern ??

  4. #4
    Forum Expert sintek's Avatar
    Join Date
    12-04-2015
    Location
    Cape Town
    MS-Off Ver
    2013 | 2016 | 2019
    Posts
    13,239

    Re: ask text in( ) pattern

    Still not making sense...
    Attach a sample workbook . Make sure there is just enough data to demonstrate your need. Include a BEFORE sheet and an AFTER sheet in the workbook if needed to show the process you're trying to complete or automate. Make sure your desired results are shown, mock them up manually if necessary.
    To attach a file, click on Go Advanced (below the Edit Window) while you are composing a reply, then scroll down to and click on Manage Attachments and the Upload window will open. Click on Browse and navigate to (and double-click) the file icon that you want to attach, then click on Upload and then on Close this Window to return to the Edit window. When you have finished composing your post, click on Submit Post.

  5. #5
    Valued Forum Contributor
    Join Date
    11-28-2015
    Location
    indo
    MS-Off Ver
    2016 64 bitt
    Posts
    1,282

    Re: ask text in( ) pattern

    in a1 i have data
    a1=(a,b,a,b,a,b) a,b,c,b
    Then in b1,c1,d1,e1 etc
    Only execute a,b in (a,b,a,b,a,b)
    b1= a,c1=a,d1=a ,e1=,b,f1=,b,g1=,b
    Use reg exp
    Thank i hope you understand

  6. #6
    Forum Expert sintek's Avatar
    Join Date
    12-04-2015
    Location
    Cape Town
    MS-Off Ver
    2013 | 2016 | 2019
    Posts
    13,239

    Re: ask text in( ) pattern

    Unfortunately I am only now starting to work with Regex, so this is the best I can do...

    Please Login or Register  to view this content.

  7. #7
    Valued Forum Contributor
    Join Date
    11-28-2015
    Location
    indo
    MS-Off Ver
    2016 64 bitt
    Posts
    1,282

    Re: ask text in( ) pattern

    Thank sintek
    How if use 2 pattern
    First pattern= all text in ( )
    Second pattern=only a dan ,b
    Please Login or Register  to view this content.
    My coding only concept that is imposible

  8. #8
    Forum Expert sintek's Avatar
    Join Date
    12-04-2015
    Location
    Cape Town
    MS-Off Ver
    2013 | 2016 | 2019
    Posts
    13,239

    Re: ask text in( ) pattern

    Sorry...don't understand.explain as per post #5

  9. #9
    Valued Forum Contributor
    Join Date
    12-22-2015
    Location
    HK
    MS-Off Ver
    2010
    Posts
    532

    Re: ask text in( ) pattern

    sinteks code just write to your unrequested range.
    It should work. Or try below 3 patterns:
    Please Login or Register  to view this content.

  10. #10
    Valued Forum Contributor
    Join Date
    11-28-2015
    Location
    indo
    MS-Off Ver
    2016 64 bitt
    Posts
    1,282

    Re: ask text in( ) pattern

    Please Login or Register  to view this content.
    how to show only text "(a,b,a,b,a,b,c) and (a,b,c)

  11. #11
    Valued Forum Contributor
    Join Date
    12-22-2015
    Location
    HK
    MS-Off Ver
    2010
    Posts
    532

    Re: ask text in( ) pattern

    you should open new thread.
    Please Login or Register  to view this content.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. [SOLVED] Lookup and return rows based on pattern start and pattern end
    By JDI in forum Excel General
    Replies: 18
    Last Post: 11-16-2014, 11:44 PM
  2. How to SUM from a different sheet based on text pattern?
    By techy86 in forum Excel - New Users/Basics
    Replies: 2
    Last Post: 07-14-2014, 04:54 PM
  3. [SOLVED] Remove a pattern of text from cells
    By shane1800 in forum Excel General
    Replies: 4
    Last Post: 02-12-2014, 03:38 PM
  4. [SOLVED] Looking for a way to extract a text with a pattern in a string.
    By domino21 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 11-04-2012, 08:01 PM
  5. [SOLVED] Search for pattern of numbers in text
    By toontopo in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 08-09-2012, 04:37 AM
  6. [SOLVED] Search for pattern of numbers in text
    By toontopo in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 08-07-2012, 11:35 AM
  7. pattern matching within text string
    By nzdzy2 in forum Excel General
    Replies: 4
    Last Post: 10-19-2011, 12:27 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1