Regex: letters dot and space only

Hello expert,
have an input field which should accept only letters, '.' and space (see image below). here is my code so far.
FIND FIRST OCCURRENCE OF REGEX '[^a-zA-Z]*' IN makt-maktx.
   IF sy-subrc = 0.
     MESSAGE e012.
   ENDIF.
makt-maktx is the field on screen.
Help please

Dengyong Zhang
space is also space.
hassim khan
Replace your FIND statement with this.
FIND REGEX '[^a-zA-Z \.]' IN makt-maktx.
In regex, dot matches any character, and to match actual dot, you need to escape it using backslash.

Similar Messages

  • Why should i add a dot and space to execute this oracle provided script?

    When multiple oracle databases are installed in one machine, we need to set the environment variables like ORACLE_HOME, ORACLE_SID before logging into the respective database. For this, oracle provides as script called oraenv.
    If we try to execute oraenv like
    oraenv   #without a dot and space before the filenamethe file seem to get executed but none of the env variables actually get set.
    To execute this script correctly we have to put a dot and a space before the filename like
    . oraenvWhat is difference between these two way of executing scipts?
    The orenv code
    # $Header: oraenv.sh.pp 19-jul-2001.14:02:07 jboyce Exp $ oraenv.sh.pp Copyr (c) 1991 Oracle
    # usage: . oraenv
    # This routine is used to condition a user's environment for access to
    # an ORACLE database. It will prompt for the value of the new SID unless
    # the variable ORAENV_ASK is set to NO, in which case it will use the
    # current value of ORACLE_SID.
    # The character "*" denotes a null SID.
    # NOTE:          Due to constraints of the shell in regard to environment
    # -----          variables, the command MUST be prefaced with ".". If it
    #          is not, then no permanent change in the user's environment
    #          can take place.
    case ${ORACLE_TRACE:-""} in
        T)  set -x ;;
    esac
    # Determine how to suppress newline with echo command.
    N=
    C=
    if echo "\c" | grep c >/dev/null 2>&1; then
        N='-n'
    else
        C='\c'
    fi
    # Set minimum environment variables
    # ensure that OLDHOME is non-null
    if [ ${ORACLE_HOME:-0} = 0 ]; then
        OLDHOME=$PATH
    else
        OLDHOME=$ORACLE_HOME
    fi
    case ${ORAENV_ASK:-""} in                       #ORAENV_ASK suppresses prompt when set
        NO)     NEWSID="$ORACLE_SID" ;;
        *)     case "$ORACLE_SID" in
             "")     ORASID=$LOGNAME ;;
             *)     ORASID=$ORACLE_SID ;;
         esac
         echo $N "ORACLE_SID = [$ORASID] ? $C"
         read NEWSID
         case "$NEWSID" in
             "")          ORACLE_SID="$ORASID" ;;
             *)             ORACLE_SID="$NEWSID" ;;          
         esac ;;
    esac
    export ORACLE_SID
    ORAHOME=`dbhome "$ORACLE_SID"`
    case $? in
        0)     ORACLE_HOME=$ORAHOME ;;
        *)     echo $N "ORACLE_HOME = [$ORAHOME] ? $C"
         read NEWHOME
         case "$NEWHOME" in
             "")     ORACLE_HOME=$ORAHOME ;;
             *)     ORACLE_HOME=$NEWHOME ;;
         esac ;;
    esac
    export ORACLE_HOME
    # Put new ORACLE_HOME in path and remove old one
    case "$OLDHOME" in
        "")     OLDHOME=$PATH ;;     #This makes it so that null OLDHOME can't match
    esac                    #anything in next case statement
    case "$PATH" in
        *$OLDHOME/bin*)     PATH=`echo $PATH | \
                       sed "s;$OLDHOME/bin;$ORACLE_HOME/bin;g"` ;;
        *$ORACLE_HOME/bin*)     ;;
        *:)               PATH=${PATH}$ORACLE_HOME/bin: ;;
        "")               PATH=$ORACLE_HOME/bin ;;
        *)               PATH=$PATH:$ORACLE_HOME/bin ;;
    esac
    export PATH
    # Install any "custom" code here
    # Locate "osh" and exec it if found
    ULIMIT=`LANG=C ulimit 2>/dev/null`
    if [ $? = 0 -a "$ULIMIT" != "unlimited" ] ; then
      if [ "$ULIMIT" -lt 2113674 ] ; then
        if [ -f $ORACLE_HOME/bin/osh ] ; then
         exec $ORACLE_HOME/bin/osh
        else
         for D in `echo $PATH | tr : " "`
         do
             if [ -f $D/osh ] ; then
              exec $D/osh
             fi
         done
        fi
      fi
    fi

    The dot is used to "source" a file. It is commonly used to change your environment variables without forcing you to log out and back in again for the changes to take effect. Check out "source command for Solaris 10" or something similiar for more info.

  • Spotlight search doesn't work--for first letters H and N only! (iOS 5.1)

    I have been reading a thread about spotlight not working until people updated to 5.1. Well, I have the reverse problem. I updated to 5.1 a few days ago, and now I can search for everything EXCEPT words that begin with H or N. When I try that, the enlarged letters on the keyboard freeze for 10 seconds, then disappear. Although the N or H appears in the search screen, no search results appear. I have tried shutting off various programs but that does not help. Anyone else see this problem?

    Thanks, but I have done that already several time. I also closed all open applications, and I also Reset All Settings. No improvement. BTW I am using an iPhone 4.

  • Capital Letters and spaces when naming files or images

    When I first started creating a web page, I was under the impression that I should only use lower case and use an underscore instead of a space. Is this still the case or have things moved on since then.
    If not, could somebody please let me know when I should use Capital Letters and spaces.
    Does it affect google ratings or any search engine ratings in any way.
    Thanks to all who have answered my previous posts. I do not know what I would have done without this forum.
    All the best to all and thanks again.
    Michael

    No change.
    Stick to A-Z, a-z, 0-9, hyphen and underscore. Avoid spaces and special characters such as ?, ! and #.
    It's a matter of differences in server operating systems. Spaces in filenames can be read differently by different servers and may lead to broken links.
    Javascript and some operating systems (e.g. Linux) are case sensitive.
    On Linux: MyPic.jpg is a different file to mypic.jpg
    In addition, Uppercase/lowercase is partly a question of consistency to avoid user error.
    Some users here have inexplicable (to them) errors because Images/image.jpg and images/image.jpg are two different paths.
    Choose a simple, logical (and legal) file naming convention (e.g. all lowercase) which you find most comfortable and stick to it at all times.

  • Hey iphone an iphone 3g and i only have about 13 apps and the yellow bar on itunes for my phone is way to big i deleted all my photos all my music every thing i ryed restoring ans all it still takes up space for sum reason ?? please someone help me

    hey iphone an iphone 3g and i only have about 13 apps and the yellow bar on itunes for my phone is way to big i deleted all my photos all my music every thing i ryed restoring ans all it still takes up space for sum reason ?? please someone help me

    If Other (the yellow bar) is too big something is corrupted.  The only solution (that I know of) is to restore from your most recent backup using iTunes (see http://support.apple.com/kb/ht1766).

  • I have a ipod touch and i got it for christmas with an iTunes card .the problem is that i downloaded videos and now it said that there is not enough space and i only downloaded 8 and now 5 don't download how do i erase them.can  get my money back

    i have a ipod touch and i got it for christmas with an iTunes card .the problem is that i downloaded videos and now it said that there is not enough space and i only downloaded 8 and now 5 don't download how do i erase them.can  get my money back

    Whatever you read about iTunes is wrong unless you're actually referring to feature movies, not videos. Videos, apps, music and iBooks you can re-download:
    http://support.apple.com/kb/ht2519
    Download to your computer and then sync to your iPod touch whatever will fit.
    And no, I can't say with certainty that they won't give you a refund, but it's unlikely. The most probable outcome, if you do indeed mean movies, not TV shows or other videos, is that they would set up an additional download. For other content they'll probably just direct you to the same instructions on re-downloading I just posted.

  • Firefox 3.6.11 does not respond on mouse, only Tab key and space bar

    HW: Lenovo R61i.
    OS: MS Win-XP PRO, ver 20002, SP3
    Internet Explorer is diabled in:
    Contol Panal|add/remove programs|add/remove windows components
    All other programs responds om USB mouse or the little joy-stick between G, H and B-keys.
    Removed FF, booted and reinstalled FF 3.6.11.
    Mouse works a couple of cliks - then Tab key and Space bar is the only tool.
    By the way - living in Norway, means No version og FF :)

    Getting very tired of this problem which is becoming much more frequent. I love the FF browser, but lately after I have been on line for a while, the browser stops responding to mouse clicks and I have to use the task manager to shut the program down and then reopen it to get it to work. From what I've been reading in the forums, this is not an uncommon problem. I've done all the recommended fixes and nothing works. Please fix this!!

  • How can i limit the user to enter only A to Z and space in JFormattedText

    dear
    i want to use JFormatedTextField in two manners
    1.Limit the no of charecters.means in a text field only 20 charecters r allowed.
    2.and also check the enterd charecter must be a to z and space not other chareters r allowed.
    3.same for numbers means 0 to 9 and decimal.
    how can i do by using the JFormated TextFilef.

    Probably lacks in some cases but what the hell.
    * Filename:           JSMaskedTextField.java
    * Creation date:      22-mei-2004
    * Author:                Kevin Pors
    package jsupport.swingext;
    import java.awt.event.KeyEvent;
    import java.util.Arrays;
    import javax.swing.JTextField;
    * A masked textfield is a textfield which allows only a specific mask of
    * characters to be typed. If characters typed do not occur in the mask
    * provided, the typed character will not be 'written' at all. The default mask
    * for this <code>JSMaskedTextField</code> is <code>MASK_ALPHA_NUMERIC</code>
    * @author Kevin Pors
    * @version 1.32
    public class JSMaskedTextField extends JTextField {
        /** Masking for alphabetical lowercase characters only. */
        public static final String MASK_ALPHA_LCASE = "abcdefghijklmnopqrstuvwxyz ";
        /** Masking for alpha-numeric characters (lcase/ucase) only. */
        public static final String MASK_ALPHA_NUMERIC = "0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ ";
        /** Masking for alphabetical uppercase characters only. */
        public static final String MASK_ALPHA_UCASE = "ABCDEFGHIJKLMNOPQRSTUVWXYZ ";
        /** Masking for numbers only. */
        public static final String MASK_NUMERIC = "0123456789";
        /** Masking for hexadecimals. */
        public static final String MASK_HEXADECIMAL = "0123456789ABCDEF";
         * An array of keyevent constants defining which keys are always to be
         * allowed, no matter what.
        private final int[] ALWAYS_ALLOWED = new int[] { KeyEvent.VK_BACK_SPACE,
                KeyEvent.VK_DELETE, KeyEvent.VK_UP, KeyEvent.VK_DOWN,
                KeyEvent.VK_LEFT, KeyEvent.VK_RIGHT, KeyEvent.VK_SHIFT,
                KeyEvent.VK_HOME, KeyEvent.VK_END};
        /** Boolean specifying whether casing should be ignored. */
        private boolean ignoringCase = true;
        /** Specifying whether the maskin is enabled */
        private boolean isMaskingEnabled = true;
        /** The mask for the textfield. */
        private String mask = MASK_ALPHA_NUMERIC;
         * Creates a default number field.
        public JSMaskedTextField() {
            super(null, null, 0);
            Arrays.sort(ALWAYS_ALLOWED);
         * Creates a number field, with a specified number of columns.
         * @param columns The columnnumber.
        public JSMaskedTextField(int columns) {
            super(null, null, columns);
            Arrays.sort(ALWAYS_ALLOWED);
         * Creates a JSMaskedTextField with a masking.
         * @param mask The masking to be used.
        public JSMaskedTextField(String mask) {
            super(null, null, 0);
            Arrays.sort(ALWAYS_ALLOWED);
            setMask(mask);
         * Gets the masking for this masked textfield.
         * @return Returns the mask.
        public String getMask() {
            return this.mask;
         * Gets whether this JSMaskedTextField should be ignoring casing.
         * @return Returns if the component should be ignoring casing.
        public boolean isIgnoringCase() {
            return this.ignoringCase;
         * Checks whether masking is enabled. Default should be true.
         * @return Returns true if masking is enabled, false if not.
        public boolean isMaskingEnabled() {
            return this.isMaskingEnabled;
         * Sets whether it should be ignoring casing when checking for alpha-chars.
         * @param ignoringCase The ignoringCase to set.
        public void setIgnoringCase(boolean ignoringCase) {
            this.ignoringCase = ignoringCase;
         * Sets the masking for this textfield. The masking will determine which
         * characters can be typed. If the characters in de <code>mask</code> do
         * not occur in the typed character, it won't be typed.
         * @param mask The mask to set.
        public void setMask(String mask) {
            this.mask = mask;
         * Sets the masking enabled. If <code>false</code> this component will
         * behave just like a normal textfield.
         * @param isMaskingEnabled true if masking should be enabled.
        public void setMaskingEnabled(boolean isMaskingEnabled) {
            this.isMaskingEnabled = isMaskingEnabled;
         * Sets text of this textfield. If the blah blah.
         * @see javax.swing.text.JTextComponent#setText(java.lang.String)
        public void setText(String text) {
            for (int i = 0; i < text.length(); i++) {
                if (getMask().indexOf(text.charAt(i)) < 0) { // does not occur
                    return;
            super.setText(text);
         * @see javax.swing.JComponent#processKeyEvent(java.awt.event.KeyEvent)
        protected void processKeyEvent(KeyEvent e) {
            if (!isMaskingEnabled()) {
                return;
            char typed = e.getKeyChar();
            int code = e.getKeyCode();
            for (int i = 0; i < ALWAYS_ALLOWED.length; i++) {
                if (ALWAYS_ALLOWED[i] == code) {
                    super.processKeyEvent(e);
                    return;
            if (typed == KeyEvent.VK_BACK_SPACE) {
                super.processKeyEvent(e);
            if (isIgnoringCase()) {
                String tString = new String(typed + "");
                String ucase = tString.toUpperCase();
                String lcase = tString.toLowerCase();
                if (getMask().indexOf(ucase) < 0 || getMask().indexOf(lcase) < 0) {
                    e.consume();
                } else {
                    super.processKeyEvent(e);
                    return;
            } else { // not ignoring casing
                if (getMask().indexOf(typed) < 0) {
                    e.consume();
                } else {
                    super.processKeyEvent(e);
    }

  • Can't validate outlook on iPad - random numbers and letters don't display - only a question mark in a blue box

    If I have to validate Outlook on PC or Mac - I have no problem - the random numbers and letters display fine - but if I am requested to validate outlook before sending a mail when using my iPad, the operation fails as the test numbers and letters are not shown - only a snap blue box with a question mark.  How do I convert the box into the image of a new validation code?  Thanks in advance.

    Hello,
    The question mark means it can't find it where it was when you put it in the Dock.
    I'd get EasyFind...
    http://www.macupdate.com/info.php/id/11076
    Use it to search your whole drive for Files & Folders, case insensitive & show invisibles...
    Complete
    That will show any with that word in the name at all.

  • My iPhoto doesnt allow me to place more photos, says that the space is full but my mac book pro is new (less than 2 weeks) and I only got 500 photos, what should I do?? the computer is almost empty

    My iPhoto doesnt allow me to place more photos, says that the space is full but my mac book pro is new (less than 2 weeks) and I only got 500 photos, what should I do?? the computer is almost empty

    Apply the two fixes below in order as needed: 
    Fix #1
    Launch iPhoto with the Command+Option keys held down and rebuild the library.
    Since only one option can be run at a time start with Option #3, followed by #4 and then #1 as needed.
    Fix #2
    Using iPhoto Library Manager  to Rebuild Your iPhoto Library
    1 - download iPhoto Library Manager and launch.
    2 - click on the Add Library button, navigate to your Home/Pictures folder and select your iPhoto Library folder.
    3 - Now that the library is listed in the left hand pane of iPLM, click on your library and go to the File ➙ Rebuild Library menu option.
    4 - In the next  window name the new library and select the location you want it to be placed.
    5 - Click on the Create button.
    Note: This creates a new library based on the LIbraryData.xml file in the library and will recover Events, Albums, keywords, titles and comments.  However, books, calendars, cards and slideshows will be lost. The original library will be left untouched for further attempts at fixing the problem or in case the rebuilt library is not satisfactory.
    OT

  • Adobe Pro XI deletes and/or replaces letters with blank spaces or an x

    How do I fix the problem where Adobe Pro XI deletes and/or replaces letters with blank spaces or an x.
    This is really annoying to have to go back to each thing I type into a document and re-choose the fonts to get them to be correct.
    Thanks for your help!

    Adobe is a company, not a program... do you mean ACROBAT Pro?
    If yes, this is the Premiere Pro video editing forum, you need to go to http://forums.adobe.com/community/acrobat

  • I have a white iPhone 4S 8 gb it say that I have most if the room in my music and and I only have fourth songs and also It says that the second mist spacious item is my photo which I deleted all of and I running low on space any suggestions

    I have a white iPhone 4S 8 gb it say that I have most if the room in my music and and I only have fourth songs and also It says that the second mist spacious item is my photo which I deleted all of and I running low on space any suggestions

    Read this on how to do that https://discussions.apple.com/docs/DOC-3141

  • Special Characters and spaces in Tablenames and Column Names are allowed ?

    Hi
    I have created two tables in Oracle10g
    as follows
    SQL> create table test(columna number,columnb varchar2(20),primary key(columna));
    Table created.
    SQL> insert into test values(1,'test');
    1 row created.
    SQL> commit;
    COMMIT är utfört.
    SQL> create table "test quote"("#" number,abc number,primary key("#"));
    Table created.
    SQL> insert into "test quote" values(1,2);
    1 row created.
    SQL> commit;
    COMMIT är utfört.
    SQL> select * from "test quote";
    # ABC
    1 2
    SQL> select * from test;
    COLUMNA COLUMNB
    1 test
    Now I want to cache the tables and their data into TimesTen
    The cache group for table test which is not having any spaces and special characters in table name and column names is created perfectly.
    But when I create the cache group for table "test quote" which is having special characters and spaces it gives error :
    Command>create readonly cache group w2 from testuser.test(columna number,columnb varchar2(20),primary key(columna));
    Command>select * from test;
    <1,test>
    1 row found.
    Command>create readonly cache group w3 from testuser."test quote"("#" number,abc number,primary key("#"));
    5140: Could not find TESTUSER.TEST QUOTE in Oracle. May not have privileges.
    Command Failed.
    Now there is contradiction that why cache group for table test is created successfully and why it is not being created for table "test quote".
    What I think is if special characters and spaces in column names and table names are possible in Oracle then it sould be possible in TimesTen.
    Any possible solution.
    Looking forward for your reply.
    Please help I am stuck badly.
    /Ahmad

    Hi
    Problem Solved ....... Remeber only Capital letters work with special characters ......
    /Ahmad

  • NULL and Space value in ABAP

    Hi All,
           I like to know, is it NULL and Space value is same in ABAP, if it is not how to check null value.
    Thank you.
    Senthil

    everything is correct though some answers are not correct.
    A Database NULL value represents a field that has never been stored to database - this saving space, potentially.
    Usually all SAP tables are stored with all fields, empty fields are stored with their initial value.
    But: If a new table append is created and the newly-added fields do not have the 'initial value' marked in table definition, Oracle will just set NULL values for them.
    as mentioned: There is no NULL value to be stored in an ABAP field. The IS NULL comparison is valid only for WHERE clause in SELECT statement. WHERE field = space is different from WHERE field IS NULL. That's why you should check for both specially for appended table fields.
    If a record is selected (fulfilling another WHERE condition) into an internal table or work area, NULL values are convertted to their initial values anyway.
    Hope that sheds some light on the subject!
    regards,
    Clemens

  • When I start the program I instantly see this message:  "Adobe Bridge encountered a problem and is unable to read the cache, please try purging the central cache in cache preferences to correct the situation".  I have tried this and it only results in a s

    When I start the program I instantly see this message:  "Adobe Bridge encountered a problem and is unable to read the cache, please try purging the central cache in cache preferences to correct the situation".  I have tried this and it only results in a stalled/locked program.  I have tried restarting my machine multiple times and tried reconfiguring how the cache is managed.  Do you have anyone who could walk me through each step to correct this problem which just started two days ago.  I have owned this program for at least a year now...

    BOILERPLATE TEXT:
    Note that this is boilerplate text.
    If you give complete and detailed information about your setup and the issue at hand,
    such as your platform (Mac or Win),
    exact versions of your OS, of Photoshop (not just "CS6", but something like CS6v.13.0.6) and of Bridge,
    your settings in Photoshop > Preference > Performance
    the type of file you were working on,
    machine specs, such as total installed RAM, scratch file HDs, total available HD space, video card specs, including total VRAM installed,
    what troubleshooting steps you have taken so far,
    what error message(s) you receive,
    if having issues opening raw files also the exact camera make and model that generated them,
    if you're having printing issues, indicate the exact make and model of your printer, paper size, image dimensions in pixels (so many pixels wide by so many pixels high). if going through a RIP, specify that too.
    etc.,
    someone may be able to help you (not necessarily this poster, who is not a Windows user).
    a screen shot of your settings or of the image could be very helpful too.
    Please read this FAQ for advice on how to ask your questions correctly for quicker and better answers:
    http://forums.adobe.com/thread/419981?tstart=0
    Thanks!

Maybe you are looking for

  • WIS 10901 error while refreshing report in rich client

    I'm facing a strange issue while refreshing a report from Rich client. Here are details Environment: BO XI 3.1 SP3, Oracle application DB. Weu2019ve 2 BO servers (S1 and S2) on cluster and load balancer (common URL) in front. While login to S1 with 6

  • Sms failure

    Skype SMS is a SCAM, most messages never reach, I have been billed for three messages over the past week, which I sent to terst he service., Not one of them was delivered. It is a scandal which needs investigation. It is nothing to do with the cost b

  • Check inputfield for numbers

    I have an input field and I want to check the value, if there are only numbers in it. When not, there must come an error message or something like this and the user must change the entry. I made the input field, with the following coding:     <htmlb:

  • HT204291 Error Message: "airplay tv is in use by someone else" Please help?

    I.m trying to use Airplay Mirroring to stream content from my iPad 2 to my HDTV. Already using Airplay TV successfully to stream content from my iTunes library using the Remote control but now I want to add my iOS devices but I'm getting the followin

  • Flash CS4 won't publish file

    Export, and publish (including the preview keyboard shortcut) have suddenly stopped working. The problem has affected two recently created files but older files work as normal. When I publish or preview a file the export panel appears but then flash