+ Reply to Thread
Results 1 to 3 of 3

how to work with RegEx in Excel 2013

  1. #1
    Registered User
    Join Date
    08-14-2015
    Location
    Bratislava, Slovakia
    MS-Off Ver
    2013, Mac 2008
    Posts
    2

    how to work with RegEx in Excel 2013

    I need to replace substrings in cells and it is neccessary to work as well with special chars like \, #, |, ^, but it depend if they are on the beggining or end of line (Carredge return and line feed). So it saounds to me good candidate to use RegEx, but in my version of Excel 2013 regex are not supported. Can sombody give me advice which addin or VBA function to utilise?

    Thanx in advance

    Tomáš

  2. #2
    Forum Guru Kaper's Avatar
    Join Date
    12-14-2013
    Location
    Warsaw, Poland
    MS-Off Ver
    most often: Office 365 in Windows environment
    Posts
    8,617

    Re: how to work with RegEx in Excel 2013

    You still can use standard SUBSTITUTE
    Not as elegant and compact as RegEx, but shall do the job.
    Best Regards,

    Kaper

  3. #3
    Registered User
    Join Date
    08-14-2015
    Location
    Bratislava, Slovakia
    MS-Off Ver
    2013, Mac 2008
    Posts
    2

    Re: how to work with RegEx in Excel 2013

    Thanx for reguest, i will carefuly read the help, but for first try i did following (to replace = with CR and/or LF)

    =SUBSTITUTE(D8;"=";"k"&CHAR(13)&CHAR(10))

    And it did not work, But anyway i will chceck how it works and if it will be able to find simmilary to regex:
    -find at beginning of string
    -find at the end of string
    -find firs number after upercase letters...

    I will use it.

    Toma

+ 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. Application.ScreenUpdating Not Work in Excel 2013
    By JLousada in forum Excel Programming / VBA / Macros
    Replies: 11
    Last Post: 03-16-2016, 01:40 PM
  2. Macros work perfectly in Excel 2010 but generate some errors in Excel 2013
    By Mumps1 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 08-17-2015, 12:45 PM
  3. [SOLVED] XLSM with excel 2013 does not work with 2007
    By rodich in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 03-23-2015, 04:40 AM
  4. Why does my formula work in Excel 2013 but not-work in SharePoint 2013?
    By mkamoski in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 11-11-2014, 06:37 PM
  5. Code does not work after Excel 2013 Upgrade
    By amalejko in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 06-16-2014, 01:56 PM
  6. [SOLVED] Code to work in both Excel 2013 and 2003
    By 1eyedjack in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 03-12-2014, 09:30 AM
  7. Works in Excel 2007, does not work in 2013
    By froggy50 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 03-06-2014, 06:42 AM

Tags for this Thread

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